<?php
class CmsTestFunctional extends sfTestFunctional
{
  public function loadData()
  {
    Doctrine_Core::dropDatabases();

    Doctrine_Core::createDatabases();
       
    exec('php symfony doctrine:insert-sql --env=test');
    
    Doctrine_Core::loadData(sfConfig::get('sf_data_dir').'/fixtures');
 
    return $this;
  }
}
?>
